<?php
// +----------------------------------------------------------------------
// | ZanPianCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpian.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.feifeicms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class Channel extends Base{
    protected $rule =   [
	    ['list_name', 'require', '栏目标题不能为空！'],
		//['list_dir', 'require|unique:list|email', '栏目拼音不能为空|栏目拼音存在'],
    ];	
	protected $scene = array(
		'edit'     => 'list_name',
		'add'     =>  'list_name',
	);
}